﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;

namespace Common.Enums
{
    /// <summary>
    /// 调查系统 题目类型
    /// </summary>
    public enum QuestingType
    {
        /// <summary>
        /// 单选
        /// </summary>
        Radio = 1,
        /// <summary>
        /// 多选
        /// </summary>
        Checkbox = 2,
        /// <summary>
        /// 填空
        /// </summary>
        Text = 3,
        /// <summary>
        /// 文本
        /// </summary>
        Textarea = 4,
        /// <summary>
        /// 下拉选择
        /// </summary>
        Select = 5,
        /// <summary>
        /// 特殊
        /// </summary>
        Other = 6,
        /// <summary>
        /// 文件
        /// </summary>
        File = 7,
        /// <summary>
        /// 城市
        /// </summary>
        City = 8
    }

    #region 文件上传结果
    /// <summary>
    /// 文件上传结果
    /// </summary>
    public enum FileUploadResult
    {
        文件上传成功,
        文件为空,
        文件大小超过限制,
        文件扩展名不允许,
        文件上传异常,
    }
    #endregion

    public class EnumModel
    {
        public string Name { get; set; }
        public string Value { get; set; }
    }

    /// <summary>
    /// 图片类型
    /// 合并者：zhj
    /// 合并时间：2011-1-6
    /// </summary>
    public enum ImageType
    {
        /// <summary>
        /// Bmp类型
        /// </summary>
        Bmp = 1,
        /// <summary>
        /// Jpg类型
        /// </summary>
        Jpeg = 2,
        /// <summary>
        /// Gif类型
        /// </summary>
        Gif = 3,
        /// <summary>
        /// tiff类型
        /// </summary>
        Tiff = 4,
        /// <summary>
        /// png类型
        /// </summary>
        Png = 5,
        /// <summary>
        /// 未知类型
        /// </summary>
        Undefined = 6
    }


    public enum StatusEnum
    {
        未发布 = 0,
        发布 = 1
    }
  
}
